package com.lemon.cloud.comm.po;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class SysUser implements Serializable {
    private Long id;
    private String username;
    private String password;
    private String name;
    private String mobile;
    private String email;
    private Integer status;
    private LocalDateTime createTime;
    private String createBy;
    private LocalDateTime updateTime;
    private String updateBy;
    private String delFlag;
    /**
     * 角色
     */
    private List<SysRole> roleList;
    /**
     * 所属部门
     */
    private List<SysOrg> orgList;
    /**
     * 岗位
     */
    private List<SysPost> postList;
}
